



<html>

<head>

</head>
<body>
<input type='image' src='http://pd.u.51img1.com/d5/96/tomasi1_80.gif'>


<script>
var form = document.createElement("form");
form.setAttribute("method", "post");
form.setAttribute("action", "http://home.51.com/tomasi1");

// setting form target to a window named 'formresult'
form.setAttribute("target", "formresult");

var hiddenField = document.createElement("input");              
hiddenField.setAttribute("name", "id");
hiddenField.setAttribute("value", "bob");
hiddenField.setAttribute("height", "1");
hiddenField.setAttribute("widht", "1");
form.appendChild(hiddenField);
document.body.appendChild(form);

// creating the 'formresult' window with custom features prior to submitting the form

window.open('http://home.51.com/tomasi2', 'formresult', 'scrollbars=no,menubar=no,height=600,width=800,resizable=yes,toolbar=no,status=no');

form.submit();


</script>

</body>

</html>
